<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.jd.ty.pojo">
	<class name="Experience" table="EXPERIENCE" schema="TYMS">
		<id name="experienceId" type="java.lang.Long">
			<column name="EXPERIENCE_ID" precision="10" scale="0" />
			<generator class="identity" />
		</id>
		<many-to-one name="employee" class="com.jd.ty.pojo.Employee"
			column="EMPLOYEE_ID" />
		<property name="startTime" type="timestamp">
			<column name="START_TIME" />
		</property>
		<property name="endTime" type="timestamp">
			<column name="END_TIME" />
		</property>
		<property name="companyName" type="java.lang.String">
			<column name="COMPANY_NAME" />
		</property>

		<property name="department" type="java.lang.String">
			<column name="DEPARTMENT" />
		</property>
		<property name="position" type="java.lang.String">
			<column name="POSITION" />
		</property>
		<property name="contract" type="java.lang.String">
			<column name="CONTRACT" />
		</property>
		<property name="phoneNumber" type="java.lang.String">
			<column name="PHONE_NUMBER" />
		</property>
		<property name="cause" type="java.lang.String">
			<column name="CAUSE" />
		</property>
		<property name="salary" type="java.lang.String">
			<column name="SALARY" />
		</property>

	</class>
</hibernate-mapping>
